package edu.sctu.practice.class01.nieyu.assign02.test_2_rational;

/**
 * Created by Administrator on 2015/10/8.
 */
public class Client {

    public static void main(String[] args) {

        Rational rational = new Rational(0, 2);

        System.out.println("和为：" + rational.add());
        System.out.println("相减结果为：" + rational.subtract());
        System.out.println("相乘结果为：" + rational.multiplication());
        System.out.println("相除结果为：" + rational.divide());
    }
}
